home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Software / Utils / Universal Viewer / UniversalViewer.exe / Plugins / Syn2 / HL / Clarion.lcf < prev    next >
Encoding:
Text File  |  2007-12-12  |  4.4 KB  |  196 lines

  1. object SyntAnal9: TLibSyntAnalyzer
  2.   Formats = <
  3.     item
  4.       DisplayName = 'Default'
  5.       Font.Charset = DEFAULT_CHARSET
  6.       Font.Color = clWindowText
  7.       Font.Height = -13
  8.       Font.Name = 'Courier New'
  9.       Font.Style = []
  10.       FormatType = ftCustomFont
  11.     end
  12.     item
  13.       DisplayName = 'String'
  14.       Font.Charset = DEFAULT_CHARSET
  15.       Font.Color = clBlue
  16.       Font.Height = -13
  17.       Font.Name = 'Courier New'
  18.       Font.Style = []
  19.     end
  20.     item
  21.       DisplayName = 'Identifier'
  22.       Font.Charset = DEFAULT_CHARSET
  23.       Font.Color = clWindowText
  24.       Font.Height = -13
  25.       Font.Name = 'Courier New'
  26.       Font.Style = []
  27.     end
  28.     item
  29.       DisplayName = 'Comment'
  30.       Font.Charset = DEFAULT_CHARSET
  31.       Font.Color = clRed
  32.       Font.Height = -13
  33.       Font.Name = 'Courier New'
  34.       Font.Style = [fsBold]
  35.     end
  36.     item
  37.       DisplayName = 'Symbol'
  38.       Font.Charset = DEFAULT_CHARSET
  39.       Font.Color = clMaroon
  40.       Font.Height = -13
  41.       Font.Name = 'Courier New'
  42.       Font.Style = [fsBold]
  43.     end
  44.     item
  45.       DisplayName = 'Reserved word'
  46.       Font.Charset = DEFAULT_CHARSET
  47.       Font.Color = clWindowText
  48.       Font.Height = -13
  49.       Font.Name = 'Courier New'
  50.       Font.Style = [fsBold]
  51.     end
  52.     item
  53.       DisplayName = 'Marked block'
  54.       Font.Charset = DEFAULT_CHARSET
  55.       Font.Color = clHighlightText
  56.       Font.Height = -13
  57.       Font.Name = 'Courier New'
  58.       Font.Style = []
  59.       BgColor = clHighlight
  60.       FormatType = ftColor
  61.     end>
  62.   TokenRules = <
  63.     item
  64.       DisplayName = 'Any name'
  65.       StyleName = 'Identifier'
  66.       TokenType = 2
  67.       Expression = '[a-z_]\w*'
  68.       ColumnFrom = 0
  69.       ColumnTo = 0
  70.     end
  71.     item
  72.       DisplayName = 'Comment'
  73.       StyleName = 'Comment'
  74.       TokenType = 1
  75.       Expression = '!.*'#13#10
  76.       ColumnFrom = 0
  77.       ColumnTo = 0
  78.     end
  79.     item
  80.       DisplayName = 'String'
  81.       StyleName = 'String'
  82.       TokenType = 4
  83.       Expression = #39'.*?('#39'|$)'#13#10
  84.       ColumnFrom = 0
  85.       ColumnTo = 0
  86.     end
  87.     item
  88.       DisplayName = 'Symbol'
  89.       StyleName = 'Symbol'
  90.       TokenType = 3
  91.       Expression = '[/\*,\.;:\(\)=<>\+\-\[\]]'
  92.       ColumnFrom = 0
  93.       ColumnTo = 0
  94.     end>
  95.   BlockRules = <
  96.     item
  97.       DisplayName = 'Key words'
  98.       StyleName = 'Reserved word'
  99.       BlockType = btTagDetect
  100.       ConditionList = <
  101.         item
  102.           TagList.Strings = (
  103.             'accept'
  104.             'and'
  105.             'application'
  106.             'begin'
  107.             'break'
  108.             'by'
  109.             'case'
  110.             'choose'
  111.             'class'
  112.             'code'
  113.             'compile'
  114.             'cycle'
  115.             'data'
  116.             'detail'
  117.             'do'
  118.             'else'
  119.             'elsif'
  120.             'end'
  121.             'execute'
  122.             'exit'
  123.             'file'
  124.             'footer'
  125.             'form'
  126.             'function'
  127.             'goto'
  128.             'group'
  129.             'header'
  130.             'if'
  131.             'include'
  132.             'item'
  133.             'itemize'
  134.             'join'
  135.             'loop'
  136.             'map'
  137.             'member'
  138.             'menu'
  139.             'menubar'
  140.             'module'
  141.             'new'
  142.             'not'
  143.             'null'
  144.             'of'
  145.             'olecontrol'
  146.             'omit'
  147.             'option'
  148.             'or'
  149.             'orof'
  150.             'parent'
  151.             'procedure'
  152.             'program'
  153.             'queue'
  154.             'record'
  155.             'report'
  156.             'return'
  157.             'routine'
  158.             'row'
  159.             'section'
  160.             'self'
  161.             'sheet'
  162.             'tab'
  163.             'table'
  164.             'then'
  165.             'times'
  166.             'to'
  167.             'toolbar'
  168.             'until'
  169.             'view'
  170.             'while'
  171.             'window'
  172.             'xor')
  173.           TokenTypes = 4
  174.           IgnoreCase = True
  175.         end>
  176.       HighlightPos = cpAny
  177.       IgnoreAsParent = False
  178.     end>
  179.   CodeTemplates = <>
  180.   SubAnalyzers = <>
  181.   TokenTypeNames.Strings = (
  182.     'Unknown'
  183.     'Comment'
  184.     'Identifier'
  185.     'Symbol'
  186.     'String'
  187.     'Integer const'
  188.     'Float const'
  189.     'Hex const'
  190.     'Char const'
  191.     'Preprocessor')
  192.   MarkedBlockStyle = 'Marked block'
  193.   DefaultStyleName = 'Default'
  194.   LexerName = 'Clarion'
  195. end
  196.